/**********************************************************************************************************************
* COPYRIGHT 
* ------------------------------------------------------------------------------------------------------------------- 
* Copyright (c) iSOFT INFRASTRUCTURE SOFTWARE CO., LTD. This software is proprietary to 
* iSOFT INFRASTRUCTURE SOFTWARE CO., LTD., and all rights are reserved by iSOFT INFRASTRUCTURE SOFTWARE CO., LTD. 
* Without the express written permission of the company, no organization or individual may copy, install, trial, 
* distribute, or reverse engineer this software. For terms of use and further details, please refer to the End User 
* License Agreement (EULA) or contact us business@i-soft.com.cn for more assistance. 
* 
* This file contains code from EasyXMen, which is licensed under the LGPL-2.1. However, due to a special exception, 
* you are not required to comply with the provisions of section 6a of LGPL-2.1. Specifically, you may distribute 
* your software, including this file, under terms of your choice, including proprietary licenses, without needing to 
* provide the source code or object code as specified in section 6a. For more details, please refer to the project's 
* LICENSE and EXCEPTION files and the specific exception statement.  
* ------------------------------------------------------------------------------------------------------------------- 
* FILE DESCRIPTION 
* ------------------------------------------------------------------------------------------------------------------- 
*  @MCU                : S32K148 
*  @file               : WdgM_Cfg.h 
*  @license            : Evaliation 
*  @licenseExpiryDate  :  
*  @date               : 2024-10-21 10:37:07 
*  @customer           : EasyXMen User 
*  @toolVersion        : 2.0.18 
*********************************************************************************************************************/ 
/*******************************************************************************
**                      Includes                                              **
*******************************************************************************/
#ifndef WDGM_CFG_H_
#define WDGM_CFG_H_

/*===========================[V E R S I O N  I N F O R M A T I O N]===============================*/
#define WDGM_CFG_H_AR_MAJOR_VERSION       (4U)
#define WDGM_CFG_H_AR_MINOR_VERSION       (5U)
#define WDGM_CFG_H_AR_PATCH_VERSION       (0U)
#define WDGM_CFG_H_SW_MAJOR_VERSION       (1U)
#define WDGM_CFG_H_SW_MINOR_VERSION       (0U)
#define WDGM_CFG_H_SW_PATCH_VERSION       (4U)

#include "WdgM_Type.h"
#include "WdgIf_Cfg.h"

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

#define  WDGM_SLEEP_MODE_ID                     0UL

#define     WDGM_WATCHDOG_0                            WdgIfInternalDevice_0

#define WDGM_FIRST_EXPIRED_SEID                  0x2001effcU
#define WDGM_FIRST_EXPIRED_INVERSE_SEID          0x2001effeU

#define  WDGM_OFF_MODE_ENABLED                    STD_ON
#define  WDGM_DEV_ERROR_DETECT                   STD_ON
#define  WDGM_VERSION_INFO_API                   STD_OFF

/*WdgMImmediateReset may only be set to TRUE if the McuPerformResetApi (defined in SWS_Mcu_Driver) is set to TRUE*/
#define  WDGM_IMMEDIATE_RESET                    STD_OFF

#define  WDGM_BSWM_ENABLED                    STD_ON

#define  WDGM_BSWM_MULTI_PARTITION_ENABLED                    STD_OFF

#define  WDGM_BSWM_MULTI_PARTITION_NUMBER                    1

#define WDGM_MULTI_PARTITION_RESET_CALLBACK        STD_OFF

/*WdgMSupervisedEntity ID and WdgMCheckpoint ID*/
#define WdgMSupervisedEntity_0                  1U
#define SE0_WdgMCheckpoint_0                  0U

#define  WDGM_E_SUPERVISION_ENABLE                STD_OFF

/*Supervision Mechanism quantity*/
#define WDGM_SE_NUM                              1U
#define WDGM_ALIVE_NUM                           1U
#define WDGM_DEADLINE_SUP_NUM                    0U
#define WDGM_INTLOG_SUP_NUM                      0U
#define WDGM_EXTLOG_SUP_NUM                      0U

#define WdgMMode_OffMode                         0U
#define WdgMMode_SlowMode                         1U

extern const WdgM_SupervisedEntityIdType WdgM_SupervisedEntityToTabIndex[WDGM_SE_NUM];
extern const uint16 WdgM_CheckpointQuantityInSE[WDGM_SE_NUM];

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* WDGM_CFG_H */
